package com.mowanka.mokeng.data.model.bean

import me.hgj.jetpackmvvm.network.BaseResponse

data class ApiResponse<T>(val statusCode: Int, val message: String, val result: T) : BaseResponse<T>() {

    override fun isSucces() = statusCode == 200

    override fun getResponseCode() = statusCode

    override fun getResponseData() = result

    override fun getResponseMsg() = message

}